// SHCollection_BPA.cpp: implementation of the CSHCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/SHCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CSHCollection_BPA::CSHCollection_BPA()
{

}

CSHCollection_BPA::~CSHCollection_BPA()
{

}

CSH_BPA* CSHCollection_BPA::GetFirstSH()
{
	return (CSH_BPA*)CCardCollection_BPA::GetFirstCard();
}

CSH_BPA* CSHCollection_BPA::Traverse(CSH_BPA *pSH, int nDirection)
{
	return (CSH_BPA*)CCardCollection_BPA::Traverse(pSH,nDirection);
}

CSH_BPA* CSHCollection_BPA::GetSH(char *strBusName, double dkV, char nID)
{
	CSH_BPA tempSH;
	strcpy(tempSH.m_strName,strBusName);
	tempSH.m_dkV = dkV;
	tempSH.m_chID = nID;
	return (CSH_BPA*)CCardCollection_BPA::GetCard(&tempSH);
}
